package com.homework4;

import jdk.internal.org.objectweb.asm.commons.Method;

import java.lang.reflect.Member;
import java.util.Scanner;

public class Exception1 {
    public static void main(String[] args) {
//        Exception1 method = new Exception1();
//        int a = method.Method();
//        System.out.println(a);

    }
    public int Method(){

        int i = 1;
        try {
            i++;
            String[] name = new String[3];
            if(name[1].equals("xiaoming")){
                System.out.println("nnn");
            }
            return i;
        } catch (Exception e){
            return ++i;
        }finally {
            ++i;
            System.out.println(i);
        }



    }
}
